package com.imooc.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: lihongyu
 * @date: 2021/8/1 9:46
 * @description:
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String helloWorld(){
        return "Hello World!";
    }
}
